package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("lesson")
public class Lesson {
    @TableId(type = IdType.AUTO)
    private Integer lessonId;

    @TableField(value = "lesson_name")
    private String lessonName;

    @TableField(value = "sign_type")
    private Integer signType;

    @TableField(value = "sign_start_time")
    private Date signStartTime;

    @TableField(value = "sign_end_time")
    private Date signEndTime;

    @TableField(value = "sign_location_lat")
    private String signLocationLat;

    @TableField(value = "sign_location_long")
    private String signLocationLong;

    @TableField(exist = false)
    private Boolean hasSigned;
}
